package com.ylr.admin.common.vo.menu;

import com.ylr.base.common.vo.BaseVo;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-09 15:04:25
 * className: MenuFormVo
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class MenuFormVo extends BaseVo {

    /**
     * 父菜单主键，一级菜单为0
     */
    private Long parentId;

    /**
     * 所属模块
     */
    private Integer module;

    /**
     * 所属通道
     */
    private Integer channel;

    /**
     * 菜单类型[0-目录 1-菜单]
     */
    private Integer type;

    /**
     * 是否外链[0-否 1-是]
     */
    private Integer iframeStatus;

    /**
     * 显示状态[0-显示 1-隐藏]
     */
    private Integer displayStatus;

    @Override
    public String toString() {
        return "MenuFormVo{" +
                "parentId=" + parentId +
                ", module=" + module +
                ", channel=" + channel +
                ", menuName='" + word + '\'' +
                ", type=" + type +
                ", iframeStatus=" + iframeStatus +
                ", displayStatus=" + displayStatus +
                ", status=" + status +
                ", pageNo=" + pageNo +
                ", pageSize=" + pageSize +
                '}';
    }
}
